POV-Ray : Newsgroups : povray.newusers : Media Question : Media Question Server Time
5 Sep 2024 16:22:48 EDT (-0400)
  Media Question  
From: Tom Melly
Date: 14 Mar 2000 12:24:55
Message: <38ce75e7@news.povray.org>
With the camera and light above the following boxes, BoxA shows up as white
media, which is what I expected, but BoxB shows up as black - why is this?
After all, if you are looking down at a cloud from an airplane, beyond a
certain point the actual physical thickness of the cloud is not
particularily significant (is it?).

#declare BoxA =  // nice 'n' white
box
{
  <-10000, -1, -10000>
  < 10000,  0,  10000>
  pigment{rgbf<1,1,1,1>}
  hollow on
  interior{media{Plain_White_Scattering_Media}}
}

#declare BoxB = // completely black
box
{
  <-10000, -10000, -10000>
  < 10000,  0,  10000>
  pigment{rgbf<1,1,1,1>}
  hollow on
  interior{media{Plain_White_Scattering_Media}}
}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.